<!--
 * @Description:
 * @Author: FangYaoTang
 * @Date: 2023-08-16 09:18:51
 * @LastEditor: FangYaoTang
 * @LastEditTime: 2023-08-16 09:18:52
 * @Copyright: by 南京桓羽信息科技有限公司 禁止任何形式（包含二次开发）转售系统源码，违者必究。
-->


<template>
  <view class="page_content">
    <view class="head_content">
      <CustomNavbar
        :title="navbarTitle"
        color="#000"
      ></CustomNavbar>
    </view>
    <view class="main_content">
      <u-parse :content="info.content"></u-parse>
    </view>
  </view>
</template>

<script>
// 用户协议
const userAgreement = 'BtcShort 用户协议<br /><br />欢迎使用BtcShort平台（以下简称“本平台”）！在您开始使用本平台之前，请仔细阅读以下的用户协议。通过使用本平台，即表示您同意遵守以下条款和条件：<br /><br />1. 用户行为规范<br />&nbsp; &nbsp;1.1 在使用本平台的过程中，请勿发布与政治、色情、暴力相关的内容。我们鼓励用户创作积极、健康、有益的短剧内容。<br />&nbsp; &nbsp;1.2 用户需要尊重他人的合法权益，不得利用本平台从事侵犯他人权益的行为。包括但不限于侵犯他人知识产权、隐私权等。<br />&nbsp; &nbsp;1.3 用户不得以任何形式干扰或破坏本平台的正常运行，包括但不限于使用恶意程序、病毒等进行攻击。<br /><br />2. 平台服务<br />&nbsp; &nbsp;2.1 本平台提供用户上传、分享短剧视频的功能，并允许用户在平台上互相关注、点赞、评论等交流互动。<br />&nbsp; &nbsp;2.2 用户在使用本平台时，应自行承担风险，并确保所上传的内容符合法律法规和本协议的规定。如因用户违反法律法规或本协议的规定，而引发纠纷或产生责任，用户应自行承担相应的法律责任。<br />&nbsp; &nbsp;2.3 本平台有权根据需要增加、减少、更改或终止部分或全部服务内容，并无需提前通知用户。<br /><br />3. 用户隐私<br />&nbsp; &nbsp;3.1 本平台将采取合理的安全措施，保护用户的个人信息安全。<br />&nbsp; &nbsp;3.2 用户在使用本平台时，可能需要提供一些个人信息。用户需保证所提供的个人信息真实、准确，且同意本平台按照相关法律法规及隐私政策的规定处理这些信息。<br /><br />4. 免责声明<br />&nbsp; &nbsp;4.1 本平台不对用户上传的内容的真实性、准确性、完整性进行担保。<br />&nbsp; &nbsp;4.2 用户因使用本平台而遭受到的任何直接或间接损失，本平台不承担责任。<br />&nbsp; &nbsp;4.3 用户在使用本平台过程中与其他用户之间发生的争议，由相关当事人自行解决，本平台不承担任何责任。<br /><br />5. 知识产权<br />&nbsp; &nbsp;5.1 用户在使用本平台过程中创作的短剧视频享有相应的著作权。<br />&nbsp; &nbsp;5.2 用户在使用本平台过程中，不得侵犯他人的知识产权。<br /><br />6. 终止协议<br />&nbsp; &nbsp;6.1 用户违反本协议规定的，本平台有权终止用户的账号，并保留追究用户法律责任的权利。<br />&nbsp; &nbsp;6.2 用户自愿停止使用本平台的服务时，可以通过注销账号等方式终止本协议。<br /><br />7. 法律适用与争议解决<br />&nbsp; &nbsp;7.1 本协议的成立、生效、履行和解释，适用于中华人民共和国法律。<br />&nbsp; &nbsp;7.2 因本协议引起的或与本协议有关的争议，应通过友好协商解决；协商不成时，双方同意将争议提交有管辖权的人民法院解决。<br /><br />请您在使用本平台之前，仔细阅读并理解以上的用户协议。如您对协议内容有任何疑问，请及时联系我们查询。当您开始使用本平台时，即表示您已阅读、理解并同意遵守上述用户协议的规定。感谢您的合作与支持！<br /><br />最后修订日期：2023年08月02日<br />'
// 隐私协议
const privacyAgreement = `
  <p style="text-align:center;"><strong>&nbsp;BtcShort Privacy Policy&nbsp;</strong></p>
  <p><br /></p>
  <p>I. Introduction</p>
  <p>This privacy policy aims to explain how we collect, use, store, share, and protect your personal information. We value your privacy rights and commit to complying with the Data Privacy Act of 2012 and related privacy regulations in the Philippines.</p>
  <p><br /></p>
  <p>II. Collection of Personal Information</p>
  <p>1. When you use our services, we may ask you to provide certain personal information such as your name, email address, and phone number.</p>
  <p>2. We may also collect anonymous data about your use of our services through technical means such as cookies and log files.</p>
  <p><br /></p>
  <p>III. Use of Personal Information</p>
  <p>1. We will use your personal information to provide the services you request, and to improve the quality of our services and user experience.</p>
  <p>2. We may use your personal information for marketing and promotional activities, but we will obtain your prior consent.</p>
  <P>3. We will not use your personal information for any illegal or unauthorized purposes.</P>
  <p><br /></p>
  <P>IV. Storage and Protection of Personal Information</P>
  <p>1. We will take reasonable technical and organizational measures to protect your personal information from unauthorized access, use, disclosure, destruction, or loss.</p>
  <p>2. We will store your personal information in the Philippines or in other countries/regions that meet privacy protection standards that we choose. 3.We will only retain necessary personal information and delete or anonymize such information within a reasonable period after achieving the purpose of collection.</p>
  <p><br /></p>
  <p>V. Sharing of Personal Information</p>
  <p>1. We will not share your personal information with third parties unless required by law or with your express consent.</p>
  <p>2. In certain situations, we may need to share your personal information with our affiliates, service providers, or business partners to provide the services you have requested or complete your transaction. In these cases, we will enter into confidentiality agreements with these third parties to ensure that they comply with this privacy policy and applicable privacy regulations.</p>
  <p><br /></p>
  <p>VI. Your Rights.</p>
  <p>1. You have the right to access, correct, or delete the personal information we hold about you.</p>
  <p>2. You have the right to request that we stop using or sharing your personal information, but this may affect our ability to provide services to you.</p>
  <p>3. If you have any questions or complaints about our privacy policy or the way we handle your personal information, please contact us through the contact information we provide.</p>
  <p><br /></p>
  <p>VII. Children's Privacy</p>
  <p>1. We take children's privacy very seriously. If your age is below the minimum age requirement under Philippine law, please do not use our services or provide any personal information to us.</p>
  <p>2. If we discover that we have collected personal information from a minor, we will promptly delete such information. Information, we will take appropriate measures to delete this information.</p>
  <p><br /></p>
  <p>VIII, Modifications and Updates</p>
  <p>1. We may modify or update this Privacy Policy in accordance with legal requirements, business needs, or user feedback.</p>
  <p>2. The modified or updated Privacy Policy will be posted on our website or application. Please check these terms regularly to ensure you are aware of our privacy policy.</p>
  <p><br /></p>
  <p>IX, Applicable Law</p>
  <p>This Privacy Policy is governed by Philippine law and subject to the jurisdiction of Philippine courts.</p>
`
// const privacyAgreement = '<p style="text-align:center;"><strong>&nbsp;BtcShort Privacy Agreement&nbsp;</strong></p><p>Welcome to use the "BtcShort" (hereinafter referred to as "this software"). This software attaches great importance to the privacy protection of users. This privacy agreement aims to explain to users how the software collects, uses, stores and protects users\' personal information. Please read this privacy agreement carefully before using this software. If you do not agree with any content of this privacy agreement, please do not use this software.</p><p><br /></p><div><br /></div><div>I. Information collection</div><div>&nbsp; &nbsp; 1. This software will not actively collect any personal information of users, including but not limited to name, ID number, phone number, email address, etc.</div><div>&nbsp; &nbsp; 2. When the user uses the software, the software may automatically collect some technical information, including but not limited to the user\'s device information, operating system version, network status, IP address, etc.</div><p>&nbsp; &nbsp; 3. The software may use third-party services, such as advertising services, statistical analysis services, etc. These services may collect some information of users, but the software will not actively provide any personal information of users to third-party services.</p><p><br /></p><p>II. Use of information</p><p><br /></p><p>&nbsp; &nbsp; 1. The technical information collected by this software is only used to improve the service quality of this software, such as optimizing algorithms and improving intelligent identification capabilities.</p><p>&nbsp; &nbsp; 2. This software will not use any personal information of the user for commercial purposes, nor will it sell, rent, share or exchange any personal information of the user to any third party.</p><p><br /></p><p>III. Information storage and protection</p><p>&nbsp; &nbsp; 1. The technical information collected by this software will be stored on the server of this software, and the software will take reasonable security measures to protect the user\'s information from illegal acquisition, use or disclosure.</p><p>&nbsp; &nbsp; 2. This software will take reasonable measures to protect the user\'s information from accidental deletion or damage.</p><p><br /></p><p>IV. Information Disclosure</p><p>&nbsp; &nbsp; 1. This software will not disclose any personal information of the user to any third party, unless expressly authorized by the user or prescribed by law.</p><p>&nbsp; &nbsp; 2. If the user violates the use regulations or laws and regulations of the software, the software has the right to disclose the user\'s personal information to the relevant departments.</p><p><br /></p><p>V. Information protection of minors</p><p>&nbsp; &nbsp; 1. This software attaches great importance to the information protection of minors. Minors should use this software under the guidance of their parents or guardians.</p><p>&nbsp; &nbsp; 2. This software will not actively collect any personal information of minors. If the parents or guardians of minors find that the personal information of minors has been leaked, please contact the software development immediately.</p><p><br /></p>'
// 法律协议
const falvAgreement = '<div style="text-align:center;"><strong>Legal statement of rich movies and dramas</strong></div><br />Welcome to use the "BtcShort" (hereinafter referred to as "this software"). This software is an intelligent assistant based on artificial intelligence technology, which aims to provide users with more convenient and efficient services. Please read this statement carefully before using this software. If you do not agree with any of the content of this statement, please do not use this software.<br /><br />I. Intellectual Property Statement<br /><br />The ownership, intellectual property rights, related technologies and all content of this software (including but not limited to text, pictures, audio, video, software, programs, code, interface design, data, etc.) belong to the developer or relevant right holders of the software.<br /><br />No one may copy, disseminate, display, modify, sell, transfer, distribute or use any content of the software in any form without the written authorization of the software developer or relevant right holders.<br /><br />Any unauthorized act may constitute an infringement of the intellectual property rights of the software developer or relevant right holders, and corresponding legal liabilities will be borne.<br /><br />II. Disclaimer<br /><br />This software only provides intelligent assistant services and does not assume any responsibility for the results of users\' use of this software.<br /><br />This software does not assume any responsibility for any loss or damage caused by the user in the process of using the software, including but not limited to data loss, computer system crash, network interruption, etc. caused by the use of the software.<br /><br />This software does not assume any responsibility for any behavior of the user in the process of using the software, including but not limited to illegal acts caused by the use of the software, infringement of the rights and interests of others, etc.<br /><br />This software does not assume any responsibility for any third-party software or services in the process of using the software, including but not limited to any loss or damage caused by the use of third-party software or services.<br /><br />This software does not assume any responsibility for any technical problems in the process of using the software, including but not limited to computer viruses, hacker attacks, etc. caused by the use of the software.<br /><br />III. Privacy Protection Statement<br /><br />This software will strictly protect the privacy of users and will not collect, store or use any personal information of users unless they are voluntarily provided by users.<br /><br />The personal information voluntarily provided by users will be strictly confidential and will not be disclosed to any third party unless expressly authorized by the user or prescribed by law.<br /><br />This software will take reasonable security measures to protect users\' personal information from illegal acquisition, use or disclosure.<br /><br />'
// 联系我们
const contactAgreement = '<p style="text-align:center;"><br /></p><p style="text-align:center;"><br /></p><p style="text-align:center;"><br /></p><p style="text-align:center;"><img src="https://mettgpt.nymaite.cn/uploads/20230511/c10a0b3477aa89165698440c45beca79.jpg" alt="" /></p><p style="text-align:center;"><br /></p><p style="text-align:center;"><span style="text-align:center;white-space:normal;">Official official account</span></p><p><br /></p>'
// 关于我们
const AboutUser = '<p style="text-align:center;"><br /></p><p style="text-align:center;"><br /></p><p style="text-align:center;"><br /></p><p style="text-align:center;"><img src="https://mettgpt.nymaite.cn/uploads/20230511/c10a0b3477aa89165698440c45beca79.jpg" alt="" /></p><p style="text-align:center;"><br /></p><p style="text-align:center;"><span style="text-align:center;white-space:normal;">Official official account</span></p><p><br /></p>'

export default {
  data () {
    return {
      options: '',
      info: {
        title: '',
        content: ''
      },
      navbarTitle: ''
    }
  },
  onLoad (options) {
    if (options && options.d) {
      this.options = JSON.parse(decodeURIComponent(options.d))
      console.log(this.options, 'this.options')
      this.navbarTitle = this.options.title
      const Agreement = {
        35: contactAgreement,
        36: privacyAgreement,
        37: AboutUser,
        38: falvAgreement,
        42: userAgreement,
      }
      this.info.content = Agreement[this.options.id]
      console.log(this.options, 'this.options')
      // this.getRichText()
    }
  },
  methods: {
    getRichText () {
      this.$request('common.richtext', { id: this.options.id }).then(res => {
        if (res.code === 1) {
          this.info = res.data
        }
      })
    }
  }
}
</script>

<style lang="scss">
page {
  background-color: white;
}
.main_content {
  overflow-y: auto;
  padding: 30rpx;
  // color: white;
}
</style>
